package com.atguigu.product.service;

import com.atguigu.product.entity.BrandEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.product.entity.CategoryBrandRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author polarisink
 * @email polarisink@163.com
 * @date 2020-12-18 13:31:40
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

  PageUtils queryPage(Map<String, Object> params);

  void saveDetail(CategoryBrandRelationEntity categoryBrandRelation);

  void updateBrand(Long brandId, String name);

  void updateCategory(Long catId, String name);

  List<BrandEntity> getBrandsByCatId(Long catId);
}

